package com.kevin.j2eeToolBox.spring.dto;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class PersonTest {
	@Test
	public void TestSpringBean() {
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext(
				"ApplicationContext.xml");
		Person person = (Person) applicationContext.getBean("person3");
	}
}
